home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 23 / AACD 23.iso / AACD / Online / FlushHeaders / new-source / NewSource.lha / SPrintf.asm < prev    next >
Assembly Source File  |  2001-06-10  |  278b  |  25 lines

  1.  
  2.     section    text,code
  3.  
  4.     XDEF _SPrintf
  5.  
  6. _LVORawDoFmt    EQU    -$020A
  7.  
  8. _SPrintf:
  9.     movem.l    a2/a3/a6,-(sp)
  10.  
  11.     move.l    16(sp),a3
  12.     move.l    20(sp),a0
  13.     lea.l    24(sp),a1
  14.     lea.l    stuffChar(pc),a2
  15.     move.l    4,a6
  16.     jsr    _LVORawDoFmt(a6)
  17.  
  18.     movem.l    (sp)+,a2/a3/a6
  19.     rts
  20.  
  21. stuffChar:
  22.     move.b    d0,(a3)+
  23.     rts
  24.     end
  25.